Vcenter VmTemplate LibraryItems DeploySpecDiskStorage

Vcenter VmTemplate LibraryItems DeploySpecDiskStorage
Vcenter VmTemplate LibraryItems DeploySpecDiskStorage

The Vcenter VmTemplate LibraryItems DeploySpecDiskStorage schema contains the storage specification for disks in the virtual machine.

This schema was added in vSphere API 6.8.

JSON Example
{
    "datastore": "string",
    "storage_policy": {
        "type": "string",
        "policy": "string"
    }
}
string
datastore
Optional

Identifier for the datastore associated the deployed virtual machine's disk.

This property was added in vSphere API 6.8.

This property is currently required.

If storage_policy is also specified and is incompatible with the datastore, then the disk will be flagged as being out of compliance with the specified storage policy.

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: Datastore. When operations return a value of this schema as a response, the property will be an identifier for the resource type: Datastore.

storage_policy
Optional

Storage policy for the deployed virtual machine's disk.

This property was added in vSphere API 6.8.

If missing or null, datastore must be specified and the deployed virtual machine's disk is created with the default storage policy associated with the datastore.